@import '~antd/lib/style/themes/default.less';

input:-webkit-autofill, textarea:-webkit-autofill, select:-webkit-autofill {
  background-color: transparent;
  background-image: none;
  transition: background-color 50000s ease-in-out 0s; //背景色透明  生效时长  过渡效果  启用时延迟的时间
  -webkit-text-fill-color: #ffffff;
}

//body{
//  overflow: hidden;
//}
.main {
  border-radius: 5px;
  width: 400px;
  position: absolute;
  top: 50%;
  margin-top: -150px;
  right: 12%;
  //border: 1px solid rgba(110, 110, 110, 0.55);
  padding: 40px;
  height: 350px;
  z-index: 400;
  background-color: rgba(254, 254, 254, 0.95);
  //background-color: 1px solid rgba(110, 110, 110, 0.55);
  .title {
    font-size: 32px;
    font-weight: bold;
    color: blue;
    height: 44px;
    line-height: 44px;
    margin-bottom: 49px;
    text-align: center;

    .logo {
      width: 48px;
      vertical-align: top;
      margin-right: 20px;
    }
  }

  .loginForm {
    input {
      background: transparent;
      height: 40px;
      color: #333;

      ::-webkit-input-placeholder { /* WebKit browsers */
        color: #333;
        font-size: 16px;
      }

      ::-moz-placeholder { /* Mozilla Firefox 19+ */
        color: #333;
        font-size: 16px;
      }

      :-ms-input-placeholder { /* Internet Explorer 10+ */
        color: #333;
        font-size: 16px;
      }
    }

    :global {
      .ant-form-item-children {
        position: static !important;
      }
    }

    input:-webkit-autofill, select:-webkit-autofill {
      //-webkit-box-shadow: 0 0 0px 1000px #40a6f5  inset !important;
      -webkit-text-fill-color: #333 !important;
      //transition: background-color 5000s ease-in-out 0s;
    }
  }

  .icon {
    font-size: 24px;
    color: rgba(0, 0, 0, 0.2);
    margin-left: 16px;
    vertical-align: middle;
    //cursor: pointer;
    transition: color 0.3s;
    &:hover {
      color: @primary-color;
    }
  }

  .other {
    text-align: left;
    margin-top: 24px;
    line-height: 22px;

    .register {
      float: right;
    }
  }
}

.footer {
  color:#999999;
  position: absolute;
  bottom: 0;
  padding-bottom: 20px;
}

.container {
  //background: #030852;
  background: #000;
  //background-image: url(../../assets/device1.png);
  background-image: url(../../assets/bg.png);
  //background-image: url('https://gw.alipayobjects.com/zos/rmsportal/TVYTbAXWheQpRcWDaDMu.svg');
  background-repeat: no-repeat;
  //background-size: stretch;
  background-size: inherit;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  justify-content: center;
  align-items: center;
}

.scrollDiv {
  width: 0px;
  border-radius: 4px;
  height: 40px;
  background: lighten(#4556d8, 5%);
  position: absolute;
  top: 0px;
}

.goScroll {
  width: 100%;
  transition: width 1.5s;
}

.changeButton {
  color: rgba(0, 0, 0, 0)
}

.changeButton:focus {
  color: rgba(0, 0, 0, 0)
}

.selectIcon {
  width: 38px;
  height: 32px;
  display: inline-flex !important;
  align-items: center;
}

.imgStyle {
  position: absolute;
  top: 50%;
  margin-top: -200px;
  left: 8%;
  width: 800px;
}

:global {
  .ant-input-group-addon {
    background: none;
  }

  .ant-input-group-addon .ant-select-selection {
    color: #FFF;
  }

  .ant-input-group-addon .ant-select-arrow {
    color: #FFF;
  }
}
